/*
 * @Author: 清酒吖
 * @Date: 2022-01-25 14:04:19
 * @Email:  
 * @LastEditors:  
 * @LastEditTime: 2022-02-05 14:56:35
 * @Description: 
 * @version: x 1.0
 */

import request from '@/utils/request'

// @ 分页+条件查询商品信息
export function findGoodsList(data) {
    return request({
        url: `/goods/findGoods`,
        method: 'post',
        data
    })

}

// @ 添加商品数据
export function insertGoods(data) {
    return request({
        url:`/goods/addGoods`,
        method: 'post',
        data
    })
}

// @ 批量删除商品spu和sku
export function deleteGoods(data){
    return request({
        url:`/goods/delGoods`,
        method:'delete',
        data
    })
}

